<%@ include file="/taglibs.jsp"%>

<script type="text/javascript">
	Y.util.Event.onDOMReady(function() {
		Context.VigenciaCatalog = [];
		Context.VigenciaCatalog.push({
			label : 'Activo',
			value : 'A'
		});
		Context.VigenciaCatalog.push({
			label : 'Inactivo',
			value : 'I'
		});
		
	    Context.Registros = '<s:url action="users-async" namespace="/" includeParams="none" />';
	    Context.Guardar = '<s:url action="users-async" method="guardarUsuario" includeParams="none" />';
	    Context.ValidarURL = '<s:url action="users-async" method="validar" namespace="/" includeParams="none" />';
	    
	    Context.MercanciasUsername = '<s:url action="items-async" method="mercanciasUsername" namespace="/" includeParams="none" />';
	    Context.Mercancias = '<s:url action="items-async" method="mercanciasPorTipoCertificado" namespace="/" includeParams="none" />';
	    Context.MercanciasPorId = '<s:url action="items-async" method="mercanciasPorId" namespace="/" includeParams="none" />';
	    Context.GuardarMercancia = '<s:url action="items-async" method="guardarMercancia" includeParams="none" />';
	    
	});
		

</script>
<script type="text/javascript" src="${ctx}/users/include/usuarios-dtbl.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}/users/include/usuarios.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}/users/include/mercancia.js?version=${version}"></script>

<s:form theme="simple" cssClass="tsform" id="UsuariosAbcForm">
    <s:hidden name="jsonrecords"  value="%{''}" />
</s:form>

<s:form theme="simple" cssClass="tsform" id="usernameForm">
    <s:hidden name="username"  value="%{''}" />
</s:form>

<s:form theme="simple" cssClass="tsform" id="MercanciaForm">
    <s:hidden name="jsonrecords"  value="%{''}" />
</s:form>

<s:form theme="simple" cssClass="tsform" id="MercanciaIdForm">
    <s:hidden name="idMercancia"  value="%{''}" />
</s:form>

<s:form theme="simple" cssClass="tsform" id="mercUserForm">
    <s:hidden name="idMercancia"  value="%{''}" />
    <s:hidden name="username"  value="%{''}" />
</s:form>



<div align="left">

	<p id="titulo">> Usuarios</p>
	<jsp:include page="usuarios-dtbl.jsp" />
	<jsp:include page="usuarios-dlg.jsp" />
	
</div>




